<%@ page language="java" pageEncoding="UTF-8"%>
<script type="text/javascript">
	$(document).ready(function(){
		$("#sys_menu li").click(function(){
            alert($(this).attr("id"));
        
		});
	});

</script>
<body>
<div class="easyui-accordion" data-options="fit:true,border:false">
	<div title="系统菜单">
		<ul id="system_tree" class="easyui-tree"
			data-options="url:'${pageContext.request.contextPath}/menuAction!getTreeNode.do',lines:true,onClick: function(node){
						layout_center_addTabs(node);
					}">
		</ul>
		<div title="系统子菜单">
            <ul id="sys_menu" class="easyui-tree">
                <li id="userManager" class="current">
                    <span>用户管理</span>
                </li>
                <li id="deptManager">
                	<span>部门管理</span>
                </li>
            </ul>
        </div>
	</div>
	<div title="药品管理">
		<ul id="layout_west_tree" class="easyui-tree"
			data-options="url:'${pageContext.request.contextPath}/menuAction!getTreeNode.action',lines:true,onClick: function(node){
						layout_center_addTabs(node);
					}">
		</ul>
	</div>
	<div title="采购管理">
		<ul id="layout_west_tree" class="easyui-tree"
			data-options="url:'${pageContext.request.contextPath}/menuAction!getTreeNode.action',lines:true,onClick: function(node){
						layout_center_addTabs(node);
					}">
		</ul>
	</div>
	<div title="调拨管理">
		<ul id="layout_west_tree" class="easyui-tree"
			data-options="url:'${pageContext.request.contextPath}/menuAction!getTreeNode.action',lines:true,onClick: function(node){
						layout_center_addTabs(node);
					}">
		</ul>
	</div>
	<div title="销售管理">
		<ul id="layout_west_tree" class="easyui-tree"
			data-options="url:'${pageContext.request.contextPath}/menuAction!getTreeNode.action',lines:true,onClick: function(node){
						layout_center_addTabs(node);
					}">
		</ul>
	</div>
	<div title="核算管理">
		<ul id="layout_west_tree" class="easyui-tree"
			data-options="url:'${pageContext.request.contextPath}/menuAction!getTreeNode.action',lines:true,onClick: function(node){
						layout_center_addTabs(node);
					}">
		</ul>
	</div>
</div>
</body>
